//
//  SimpleVedioController.m
//  ProjectDemo
//
//  Created by IOS3 on 2019/1/11.
//  Copyright © 2019 IOS3. All rights reserved.
//

#import "SimpleVedioController.h"
#import <SJVideoPlayer.h>

@interface SimpleVedioController ()

@property (nonatomic, strong) SJVideoPlayer *player;

@end

@implementation SimpleVedioController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.player = [[SJVideoPlayer alloc] init];
    self.player.view.frame = self.view.frame;
    [self.view addSubview: self.player.view];
    self.player.URLAsset = [[SJVideoPlayerURLAsset alloc] initWithURL:[NSURL URLWithString:self.urlString]];
    [self.player play];
}




@end
